package com.market.plus.core.dto;

import java.util.List;

import com.googlecode.simpleobjectassembler.annotation.EntityDto;

@EntityDto(id = "id")
public class StorageDto {

   private Long id;

   private String name;

   private String displayName;

   private String storageURL;

   private String storageUID;

   private String realPath;

   private String mobileNumber;

   private String homeNumber;

   private Integer status;

   private AvatarDto avatar;

   private List<ContentFileDto> contentFiles;

   private List<CatergoriesDto> catergories;

   public Long getId() {
      return id;
   }

   public void setId(Long id) {
      this.id = id;
   }

   public String getName() {
      return name;
   }

   public void setName(String name) {
      this.name = name;
   }

   public String getDisplayName() {
      return displayName;
   }

   public void setDisplayName(String displayName) {
      this.displayName = displayName;
   }

   public String getStorageURL() {
      return storageURL;
   }

   public void setStorageURL(String storageURL) {
      this.storageURL = storageURL;
   }

   public String getStorageUID() {
      return storageUID;
   }

   public void setStorageUID(String storageUID) {
      this.storageUID = storageUID;
   }

   public String getRealPath() {
      return realPath;
   }

   public void setRealPath(String realPath) {
      this.realPath = realPath;
   }

   public String getMobileNumber() {
      return mobileNumber;
   }

   public void setMobileNumber(String mobileNumber) {
      this.mobileNumber = mobileNumber;
   }

   public String getHomeNumber() {
      return homeNumber;
   }

   public void setHomeNumber(String homeNumber) {
      this.homeNumber = homeNumber;
   }

   public List<ContentFileDto> getContentFiles() {
      return contentFiles;
   }

   public void setContentFiles(List<ContentFileDto> contentFiles) {
      this.contentFiles = contentFiles;
   }

   public List<CatergoriesDto> getCatergories() {
      return catergories;
   }

   public void setCatergories(List<CatergoriesDto> catergories) {
      this.catergories = catergories;
   }

   public Integer getStatus() {
      return status;
   }

   public void setStatus(Integer status) {
      this.status = status;
   }

   public AvatarDto getAvatar() {
      return avatar;
   }

   public void setAvatar(AvatarDto avatar) {
      this.avatar = avatar;
   }

   @Override
   public boolean equals(Object obj) {
      StorageDto propertyCompare = (StorageDto) obj;
      if (this.getId().longValue() == propertyCompare.getId().longValue()) {
         return true;
      }
      return false;
   }
}
